﻿using SmartPlant.Model;
using SmartPlant.Model.Biz;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace SmartPlant.Services.Interfaces
{
    public interface IProjectService
    {
        /// <summary>
        /// 查询所有domain的信息
        /// </summary>
        /// <returns></returns>
        Task<List<Project>> GetDomainsAsync();
 

        /// <summary>
        /// 连接domain
        /// </summary>
        /// <param name="proLogName"></param>
        /// <param name="proLogPass"></param>
        /// <returns></returns>
        Task<bool> DomainConnectAsync(string proLogName, string proLogPass);

 
        Task<List<T>> QueryBySQL1<T>(decimal projId, string SQL, SchemaLevel schemaLevel);

    }
}